package cn.icare.cms;

import cn.icare.cms.dao.po.ItemCat;
import cn.icare.cms.dao.po.LimitItem;
import cn.icare.cms.model.ro.AddItemCatRO;
import cn.icare.cms.model.ro.EditItemCatRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;

import java.util.List;

/**
 * 地推商品限制Service接口类
 */
public interface LimitItemService {

    Long createOne(LimitItem ro);

    boolean updateOne(LimitItem ro);

    boolean deleteOne(Long itemId);

    boolean deleteBatch(List<Long> itemIds);

    LimitItem getOne(Long itemId);

    MsgDatasVO getList();

    boolean isExists(Long itemId);

    boolean checkItemIsLimitShop(LimitItem limitItem, Long memberId);
}